﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Nature.Numerics
{
    /// <summary>
    /// VectorFunctionDelegate(double[] y, double x);
    /// </summary>
    /// <param name="y">function</param>
    /// <param name="x">variable</param>
    public delegate void VectorFunctionDelegate(double[] y, double x);

    /// <summary>
    /// Scalar function
    /// </summary>
    /// <param name="x">variable</param>
    /// <returns>function</returns>
    public delegate double ScalarFunctionDelegate(double x);
}
